<?php
$attributes = "";
foreach ($this->result as $i){
	$attributes .="<li>".$i['an'].":".$i['displayvalue']."</li>";
	
}
echo "<div id='product'>
			<div id = 'productDetailImage'>
			<img src='http://content.etilize.com/Thumbnail/".$i['productid'].".jpg'>
			</div>
			<span id='productDescription'>
			<p id='description'>".$i['description']."</p>
			</span>
			<span id='productLongDescription'>
			<p>".$i['l_description']."</p>
			</span>
			<div id='productAttributes'>
				$attributes;
			</div>
		  </div>";
echo "<div id='sideBar'>".$this->sideBar."</div>";

